<?php
/**
 * Created by PhpStorm.
 * User: longli
 * Date: 2022/02/17
 * Time: 17:34
 * @link http://www.lmterp.cn
 */

namespace app\common\service\import;


class ProductDevelop extends BaseImport
{

    protected function write()
    {
        foreach($this->getData() as $k => $item)
        {
            if($k < 1) continue;
            unset($item['create_time']);
            \app\common\model\ProductDevelop::create($item);
        }
        return true;
    }

    protected function validate(&$row = [], $key = 0)
    {
        return true;
    }

    protected function transform(&$row = [])
    {
        // TODO: Implement transform() method.
    }
}